#ifndef ZHUCE_H
#define ZHUCE_H

#include <QWidget>
#include "stuct_message.h"
#include <QTcpSocket>
#include <QMessageBox>
namespace Ui {
class zhuce;
}

class zhuce : public QWidget
{
    Q_OBJECT

public:
    explicit zhuce(QWidget *parent = 0);
    ~zhuce();
signals:
    void zhujiemianxianshi(); //发信号，返回主界面
private slots:
    void on_fanhuijiemian_pushButton_clicked(); // 返回主界面按钮

    void on_tijioachucexinxi_pushButton_clicked();
    void needMessageAndSocket(messageText *,QTcpSocket *); //获取message和socket
private:
    Ui::zhuce *ui;
    QTcpSocket *TCP;
    messageText *message;
};

#endif // ZHUCE_H
